package com.sumainfor.pc.gmio.controller.housekeeper;

import com.sumainfor.common.util.JsonResult;
import com.sumainfor.pc.gmio.service.HoTenantExtService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.Map;

/**
 * @author zc
 * @ClassName HoTenantExtController
 * @date 2019/11/18 10:58
 * @description: TODO
 */
@Controller
@RequestMapping("/HoTenantExt")
public class HoTenantExtController {


    @Autowired
    HoTenantExtService hoTenantExtService;
    /**
     * 租赁顾问记录本次抄表数
     * @param params
     * @return
     */
    @ResponseBody
    @PostMapping("/addHoWegMeterExt")
    public JsonResult addHoWegMeterExt(@RequestBody Map<String,Object> params){
        return hoTenantExtService.addHoWegMeterExt(params);
    }
}
